package com.yf.dao;

import com.yf.entity.AccountEntity;
import com.yf.entity.UserEntity;
import org.apache.ibatis.annotations.Param;

/**
 * 账户Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Aug 16 13:36:43 CST 2018
 */
public interface AccountDao extends BaseDao<AccountEntity> {

    //TODO 根据用户Id查找账户
    AccountEntity findByUserIdAndType(@Param("userId") Long userId, @Param("type") Integer type);

}
